package org.neuedu.ssmp.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author MoonHolder
 * @since 2019-12-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Setter
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Customer对象", description="")
public class Customer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "客户名称")
    private String name;

    @ApiModelProperty(value = "客户编号")
    private String code;

    @ApiModelProperty(value = "客户经理id")
    private Integer userId;

    @ApiModelProperty(value = "区域id")
    private Integer areaId;

    @ApiModelProperty(value = "用户等级id")
    private Integer levelId;

    @ApiModelProperty(value = "用户等级")
    @TableField(exist = false)
    private String levelName;

    @ApiModelProperty(value = "负责人")
    private String managerName;

    @ApiModelProperty(value = "满意度")
    private Integer agreeLevel;

    @ApiModelProperty(value = "信誉度")
    private Integer creditLevel;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "邮政编码")
    private String postcode;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "传真")
    private String fax;

    @ApiModelProperty(value = "网址")
    private String website;

    @ApiModelProperty(value = "营业执照")
    private String bussinessCode;

    @ApiModelProperty(value = "注册资金")
    private Float regsMoney;

    @ApiModelProperty(value = "开户行")
    private String regBank;

    @ApiModelProperty(value = "地税登记号")
    private String landtaxCode;

    @ApiModelProperty(value = "法人")
    private String legalPerson;

    @ApiModelProperty(value = "年营业额")
    private Float bussinessMoney;

    @ApiModelProperty(value = "银行账号")
    private String bankAccount;

    @ApiModelProperty(value = "国税登记号")
    private String nationaltaxCode;

    @ApiModelProperty(value = "是否流失")
    private Integer isLost;

    @ApiModelProperty(value = "是否删除  0未删除，1删除")
    private Integer isDel;


}
